﻿using gt.webapi.core.Entity.Throttle;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace gt.webapi.core.Repositories
{
    public interface IRateLimitRepository
    {
        void SupplerRateLimitRule(string appkey, Dictionary<RateLimitPeriod, int> rule);
        bool CheckRateLimie(string appkey);
        void IncrementRate(string appkey);
    }
}
